import Vue from 'vue'
import Component from 'vue-class-component'

@Component
export class AuthMixin extends Vue {
  /**
   * 是否有权限
   *
   * @param {string} key
   * @memberof AuthMixins
   */
  public hasAuth(key: string, modules: string = 'shop') {
    // const keys = ShopModule.curShopAuthKey
    // return keys.includes(shopAuthDict[key])
  }
}
